package com.ccp.dev.qbdms.model;

import com.ccp.dev.core.basic.model.BaseModel;
import com.ccp.dev.qbdms.annotation.AutoConfirmRequired;
import com.ccp.dev.qbdms.expimp.annotation.ExpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.ImpAnnotation;

import java.util.Date;

/**
 * @author E3
 * @title: sun
 * @projectName main
 * @description: TODO
 * @date 2020/5/28 16:09
 */
public class BaseBusinessModel<T> extends BaseModel<T> {

    /**
     * 上报状态。
     */
    private String reportStatus;

    /**
     * 上报状态。
     */
    private String reportStatusStr;


    /**
     * 三级单位上报状态
     */
    private String reportStatusTemp;

    /**
     * 是否允许编辑该业务数据
     */
    private boolean isAllowEdit;
    /**
     * 是否允许删除该业务数据
     */
    private boolean isAllowDel;
    /**
     * 是否允许删除该业务数据
     */
    private boolean isAllowFeedBack;

    /**
     * 密级
     */
    @ExpAnnotation(description = "密级", dicKey = "mj")
    @ImpAnnotation(description = "密级", dicKey = "mj", isRequired = true)
    @AutoConfirmRequired
    private String secret;

    /**
     * 填写人
     */
    private String fillman;
    /**
     * 填写人的账号
     */
    private String fillmanaccount;
    /**
     * 填写部门
     */
    private String filldept;
    /**
     * 填写部门id
     */
    private String filldeptid;
    /**
     * 填写日期
     */
    private String filldate;

    /**
     * 归属院
     */
    private String filldeptHospital;

    /**
     * 归属院id
     */
    private String filldeptHospitalId;
    /**
     * 第一次上报日期
     */
    private Date reportDate;
    /**
     * fReportReason
     */
    private String reportReason;
    /**
     * 错误信息
     */
    private String returnmsg;
    /**
     * 所属单位(用于数据纵向筛选）
     */
    private String belongdeptname;

    private String flowStatus;
    private String flowStatusStr;


    public String getFlowStatus() {
        return flowStatus;
    }

    public void setFlowStatus(String flowStatus) {
        this.flowStatus = flowStatus;
    }

    public String getFlowStatusStr() {
        return flowStatusStr;
    }

    public void setFlowStatusStr(String flowStatusStr) {
        this.flowStatusStr = flowStatusStr;
    }

    public String getReportStatus() {
        return reportStatus;
    }

    public void setReportStatus(String reportStatus) {
        this.reportStatus = reportStatus;
    }

    public String getReportStatusStr() {
        return reportStatusStr;
    }

    public void setReportStatusStr(String reportStatusStr) {
        this.reportStatusStr = reportStatusStr;
    }

    public String getReportStatusTemp() {
        return reportStatusTemp;
    }

    public void setReportStatusTemp(String reportStatusTemp) {
        this.reportStatusTemp = reportStatusTemp;
    }

    public boolean isAllowEdit() {
        return isAllowEdit;
    }

    public void setAllowEdit(boolean allowEdit) {
        isAllowEdit = allowEdit;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getFillman() {
        return fillman;
    }

    public void setFillman(String fillman) {
        this.fillman = fillman;
    }

    public String getFillmanaccount() {
        return fillmanaccount;
    }

    public void setFillmanaccount(String fillmanaccount) {
        this.fillmanaccount = fillmanaccount;
    }

    public String getFilldept() {
        return filldept;
    }

    public void setFilldept(String filldept) {
        this.filldept = filldept;
    }

    public String getFilldeptid() {
        return filldeptid;
    }

    public void setFilldeptid(String filldeptid) {
        this.filldeptid = filldeptid;
    }

    public String getFilldate() {
        return filldate;
    }

    public void setFilldate(String filldate) {
        this.filldate = filldate;
    }

    public String getFilldeptHospital() {
        return filldeptHospital;
    }

    public void setFilldeptHospital(String filldeptHospital) {
        this.filldeptHospital = filldeptHospital;
    }

    public String getFilldeptHospitalId() {
        return filldeptHospitalId;
    }

    public void setFilldeptHospitalId(String filldeptHospitalId) {
        this.filldeptHospitalId = filldeptHospitalId;
    }

    public Date getReportDate() {
        return reportDate;
    }

    public void setReportDate(Date reportDate) {
        this.reportDate = reportDate;
    }

    public String getReportReason() {
        return reportReason;
    }

    public void setReportReason(String reportReason) {
        this.reportReason = reportReason;
    }

    public String getReturnmsg() {
        return returnmsg;
    }

    public void setReturnmsg(String returnmsg) {
        this.returnmsg = returnmsg;
    }

    public String getBelongdeptname() {
        return belongdeptname;
    }

    public void setBelongdeptname(String belongdeptname) {
        this.belongdeptname = belongdeptname;
    }

    public boolean isAllowDel() {
        return isAllowDel;
    }

    public void setAllowDel(boolean allowDel) {
        isAllowDel = allowDel;
    }

    public boolean isAllowFeedBack() {
        return isAllowFeedBack;
    }

    public void setAllowFeedBack(boolean allowFeedBack) {
        isAllowFeedBack = allowFeedBack;
    }
}
